package com.wg.dome.operation;

import com.wg.common.annotation.DataMember;
import com.wg.common.lang.HashTable;
import com.wg.net.AbstractDataContract;

/**
 *  购买商品响应
 */
public class BuyGoodsResponse extends AbstractDataContract {

    /**
     * 金钱
     */
    @DataMember(code = 1)
    private long gold;

    /**
     * 仙缘
     */
    @DataMember(code = 2)
    private long rmb;

    /**
     * 物品类型 1.消耗品 2.装备 3.英雄
     */
    @DataMember(code = 3)
    private byte itemType;

    /**
     * 物品信息
     */
    @DataMember(code = 4)
    private HashTable itemInfo;


    public long getGold() {
        return gold;
    }

    public void setGold(long gold) {
        this.gold = gold;
    }

    public long getRmb() {
        return rmb;
    }

    public void setRmb(long rmb) {
        this.rmb = rmb;
    }

    public HashTable getItemInfo() {
        return itemInfo;
    }

    public void setItemInfo(HashTable itemInfo) {
        this.itemInfo = itemInfo;
    }

    public byte getItemType() {
        return itemType;
    }

    public void setItemType(byte itemType) {
        this.itemType = itemType;
    }
}
